//
//  UserView.h
//  TwitterFon
//
//  Created by kaz on 11/16/08.
//  Copyright 2008 naan studio. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "User.h"
#import "TwitterClient.h"
#import "ProfileImageView.h"

typedef enum {
    FOLLOW_BUTTON_NOT_LOADED = -1,
    FOLLOW_BUTTON_FOLLOW    = 0,
    FOLLOW_BUTTON_FOLLOWING = 1,
    FOLLOW_BUTTON_REMOVE    = 2,
} followButtonState;


@interface UserView : ProfileImageView <UIActionSheetDelegate> {
    User*               user;
    
    UIButton*           followButton;   //加为关注
	UIButton*			editButton;
    UIImage*            profileImage;
    
    BOOL                own;
}


@property (nonatomic, retain) User*      user;
@property (nonatomic, retain) UIImage* profileImage;

- (id)initWithFrame:(CGRect)frame ;
-(void)setUser:(User*)user;

@end
